<?php
namespace app\model;

use think\Model;

class PortalCategory extends Model
{
    protected $table = 'pub_portal_category';

    # 获取用户键值表
    public static function getPortalKey ()
    {
        return self::where('far_id','<>',0)->column('name','id');
    }

}
